|
2020-2021 Sunseeker Telemetry and Lighting System
|
#include "driverlib.h"Go to the source code of this file.
Functions | |
| void | main (void) |
| void | UNMI_ISR (void) |
Variables | |
| uint16_t | status |
| uint32_t | clockValue |
| void main | ( | void | ) |
Definition at line 69 of file cs_ex3_XT1Fault.c.
References clockValue, and GPIO_setOutputLowOnPin().
| void UNMI_ISR | ( | void | ) |
Definition at line 168 of file cs_ex3_XT1Fault.c.
References GPIO_setOutputHighOnPin(), GPIO_setOutputLowOnPin(), and status.
| uint32_t clockValue |
Definition at line 67 of file cs_ex3_XT1Fault.c.
Referenced by main().
| uint16_t status |
MSP430FR57xx Demo - Output 32768Hz crystal on XT1 and observe failsafe
Description: Configure ACLK = XT1 in LF mode and enter LPM3. To observe failsafe behavior short the crystal briefly on the target board. This will cause an NMI to occur. P1.0 and P3.5 is toggled inside the NMI ISR. Once the fault flag is cleared XT1 operation continues from 32768Hz crystal Otherwise ACLK defaults to VLO (~8KHz). ACLK = LFXT1 = 32kHz, MCLK = SMCLK = 4MHz
MSP430FR57x ---------------
| / | | |
|---|---|
| – | RST |
| | | P2.0 |—>ACLK | P1.0 |—>LED | P3.5 |—>LED
Texas Instruments Inc. February 2012 Built with IAR Embedded Workbench Version: 5.40 & Code Composer Studio V5.1
Definition at line 66 of file cs_ex3_XT1Fault.c.
Referenced by UNMI_ISR().